package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.*;

import java.util.Date;

/**
 * 教师信息对象 sys_teacher
 *
 * @author zzx
 * @date 2023-04-20
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ToString
public class TeacherExcelVo {

    /**
     * 用户昵称
     */
    @Excel(name = "用户名")
    private String userName;

    /**
     * 用户昵称
     */
    @Excel(name = "姓名")
    private String nickName;

    /**
     * 教师类型 1
     */
    private String userType = "1";

    /**
     * 默认密码 123456
     */
    private String password = "$2a$10$0NZYIllzgtXtxjNpogc4K.h8CT0C1i4vJA1fb/FzjYBODD4gVuchC";

    /**
     * 用户邮箱
     */
    @Excel(name = "用户邮箱")
    private String email;

    /**
     * 手机号码
     */
    @Excel(name = "手机号码")
    private String phonenumber;

    /**
     * 用户性别
     */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知",prompt="男/女/未知")
    private String sex;

    /**
     * 身份证
     */
    @Excel(name = "身份证")
    private String identity;

    /**
     * 生日
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /**
     * 部门
     */
    @Excel(name = "部门")
    private String department;

    /**
     * 职称
     */
    @Excel(name = "职称")
    private String professionTitle;

}
